package com.ruoyi.client.service;

import com.ruoyi.client.domain.ShoppingCart;
import com.ruoyi.client.pojo.vo.CartVo;

import java.util.List;

/**
 * @Author：HuaQP
 * @Date：2024/5/5
 */
public interface IShoppingCartService {
    boolean add(ShoppingCart cart);

    List<CartVo> list(Long userId);

    boolean delete(String ids);

    boolean deleteAll(Long userId);

    boolean update(ShoppingCart cart);

    boolean updateCheckedAll(Long userId, Boolean isChecked);

    List<CartVo> listChecked(Long userId);
}
